package com.maes.hughes.example.spring.service;

import org.springframework.context.annotation.Scope;
import org.springframework.stereotype.Service;

import javax.annotation.PostConstruct;

/**
 * Created by Hughes on 2017/9/21.
 */
@Service
@Scope("prototype")
public class MyService {

    @PostConstruct
    public void show(){
        System.out.println("myService:show");
    }

    public void out(){
        System.out.println("据说是注解出来的内容");
    }



}
